Ext.define('planner.store.Users', {
	extend: 'Ext.data.Store',
	storeId: 'Developers',
	model: 'planner.model.Users',
	proxy: {        
		type: 'ajax',
		root: 'users',
		url : 'data/users/',
		reader: 'json',
		writer: 'json',
		method: 'POST',
		api: {
		    create  : 'data/developers/add/',
		    read    : 'data/developers/select/',
		    update  : 'data/developers/update/',
		    destroy : 'data/developers/remove/'
		}
    },    
	autoLoad: true,
	autoSync: true,
	/*belongsTo: 'planner.store.Jobs',
	data : [
		{id: 1, parent: -1, name: 'title 1', body: 'kuzb1', jobs: [
			{id: 5, parent: 1, name: 'title 5', body: 'kuzb15'},
			{id: 6, parent: 1, name: 'title 6', body: 'kuzb16'},
		]},
		{id: 2, parent: -1, name: 'title 2', body: 'kuzb12', jobs: []},
		{id: 3, parent: -1, name: 'title 3', body: 'kuzb13', jobs: []},
		{id: 4, parent: -1, name: 'title 4', body: 'kuzb14', jobs: []},

    ],*/

});
 
